{extend name="base/base-goods-layout"/}
{block name="linkCss"}
<link rel="stylesheet" href="__STATIC__/css/goods/goods.css">
<link rel="stylesheet" href="__STATIC__/css/goods/goods-edit.css">
<link rel="stylesheet" href="__STATIC__/css/goods/goods-image.css">
{/block}
{block name="linkScript"}
<script src="__STATIC__/js/uploadImgs.js"></script>
{/block}
{block name="breadcrumb"}
<a>商家管理中心</a>
<a>商品</a>
<a>商品编辑</a>
{/block}
{block name="main"}
{include file="public/import_footer" /}
<div class="goodlist">
    <div class="menu-bar">
        <ul>
            <li {eq name="op" value="edit" } class="active" {/eq}><a href="{:think\\Url::build('waitsell','op=edit')}">编辑商品</a></li>
            <li {eq name="op" value="image" } class="active" {/eq}><a href="{:think\\Url::build('waitsell','op=image')}">编辑图片</a></li>
        </ul>
    </div>
    {if $op == 'edit'}
    <div id="section1">
        {include file='goods/goods-form'/}
    </div>
    {elseif $op == 'image'/}
    <div id="section2">
        {include file='goods/goods-image'/}
    </div>
    {/if}
</div>
{/block}
{block name="importFooter"}{/block}